<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class BingRen extends Model
{
    protected $table = 'bingren';

    public function get_bingqu()
    {
        return $this->belongsTo('App\Models\Bingqu','bingqu_id','id');
    }

    public function get_bingchuang()
    {
        return $this->belongsTo('App\Models\BingChuang','bingchuang_id','id');
    }
}
